﻿using PMIS.Shared.DTO;

namespace PMIS.Models
{
    public class AccountInfo
    {
        private static AccountInfo instance;

        public static AccountInfo Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new AccountInfo();
                }
                return instance;
            }
        }

        public string UserId { get; set; }

        public string UserName { get; set; }

        public string RoleId { get; set; }

        public string NickName { get; set; }

        public string Token { get; set; }

        public List<string> MenuIdList { get; set; }

        public List<MenuDto>? MenuList { get; set; }
    }
}
